//
//  FDBSDK.h
//  FDBSDK
//
//  Created by curer on 12/13/15.
//  Copyright © 2015 lion. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSString *kFDBSDKDidReceiveFeedbackNotification;

typedef enum : NSUInteger {
    FDBSDKContactTypeQQ,
    FDBSDKContactTypePhone,
    FDBSDKContactTypeEmail,
} FDBSDKContactType;

@import UIKit;
@interface FDBSDK : NSObject

+ (instancetype)sharedInstance;
#pragma mark - configure
+ (void)setupApplicationId:(NSString *)appId clientKey:(NSString *)key;
+ (void)setupCurrentWithUserId:(NSString *)userId info:(NSDictionary *)info;
+ (void)setupContact:(NSString *)contact withType:(FDBSDKContactType)type;

#pragma mark - publish feedback
+ (void)sendFeedbackWithContent:(NSString *)content;
+ (void)sendFeedbackWithContent:(NSString *)content withEmotionLevel:(NSInteger)level;

#pragma mark - display feedback UI
- (void)showInViewController:(UIViewController *)viewController;

@end
